package axdoc.model.tags;

import com.alibaba.fastjson.JSON;

import axdoc.util.Md5;

public class TagsIllness {

	private Integer illnessId;
	private String illnessName;
	private String illnessLexid;
	private String illnessDesc;

	public Integer getIllnessId() {
		return illnessId;
	}

	public void setIllnessId(Integer illnessId) {
		this.illnessId = illnessId;
	}

	public String getIllnessName() {
		return illnessName;
	}

	public void setIllnessName(String illnessName) {
		this.illnessName = illnessName;
	}

	public String getIllnessLexid() {
		this.illnessLexid = Md5.md5(this.illnessName);
		return illnessLexid;
	}

	public void setIllnessLexid(String illnessLexid) {
		this.illnessLexid = illnessLexid;
	}

	public String getIllnessDesc() {
		return illnessDesc;
	}

	public void setIllnessDesc(String illnessDesc) {
		this.illnessDesc = illnessDesc;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}

}
